<div data-role="content">
    <?php echo $calendar?>
    <div data-role="popup" id="view-event-popup" data-position-to="window">
        <div data-role="header">
            <p class="p-reformat">View event</p>
        </div>
        <div data-role="content" style="height: 300px;">
            
        </div>
    </div>
</div>